import EventHub from "https://cdn.jsdelivr.net/npm/@konghayao/event-hub/dist/EventHub.esm.js";
export default class Factory extends EventHub {
    lastTime = new Date().getTime();
    isRunning = false;
    constructor({ index }) {
        super();
        this.index = index;
        this.name = index;
    }
    cancel() {}
    destroy() {}
}
